<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/%E8%BF%AA.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/%E8%BF%AA.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"zhengyidi.github.io","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":"flat","style":null},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":true,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="Docker配置国内镜像加速">
<meta property="og:type" content="article">
<meta property="og:title" content="Docker配置国内镜像加速">
<meta property="og:url" content="https://zhengyidi.github.io/linux/Linux/Docker%E9%85%8D%E7%BD%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F/index.html">
<meta property="og:site_name" content="Zhengyidi&#96;s 学习记录">
<meta property="og:description" content="Docker配置国内镜像加速">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2021-06-10T00:00:00.000Z">
<meta property="article:modified_time" content="2021-11-13T14:58:22.510Z">
<meta property="article:author" content="zhengyidi">
<meta property="article:tag" content="linux">
<meta property="article:tag" content="docker">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://zhengyidi.github.io/linux/Linux/Docker%E9%85%8D%E7%BD%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>Docker配置国内镜像加速 | Zhengyidi`s 学习记录</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

<link rel="alternate" href="/atom.xml" title="Zhengyidi`s 学习记录" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Zhengyidi`s 学习记录</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">休对故人思故国，且将新火试新茶。诗酒趁年华。</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://zhengyidi.github.io/linux/Linux/Docker%E9%85%8D%E7%BD%AE%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="zhengyidi">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Zhengyidi`s 学习记录">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Docker配置国内镜像加速
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2021-06-10 00:00:00" itemprop="dateCreated datePublished" datetime="2021-06-10T00:00:00+00:00">2021-06-10</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2021-11-13 14:58:22" itemprop="dateModified" datetime="2021-11-13T14:58:22+00:00">2021-11-13</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/linux/" itemprop="url" rel="index"><span itemprop="name">linux</span></a>
                </span>
            </span>

          
            <div class="post-description">Docker配置国内镜像加速</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <div class="hbe hbe-container" id="hexo-blog-encrypt" data-wpm="Oh, this is an invalid password. Check and try again, please." data-whm="OOPS, these decrypted content may changed, but you can still have a look.">
  <script id="hbeData" type="hbeData" data-hmacdigest="02372dc2afd2d13e5178e9862873db620876c4464add7c8f90dd155f0c12a3b1">22064b17c03cb0c0e58c99349b6889d0e918231d1b5b54fbbe954408a3cd5f3faebc9cebdbcec99b5beecedb513d75470f58bf50a886729abfdcc39343579dd8700041f4605fd4f2fcde7d81a189e27a651e1696954b3082474a0c2b7aabd84c954d3f8a2a8a0f2be0e6f9482aeb6572a5e5e2e09bd7be9230d90721711790c551206418c08081c5554f5ba90a1b903684d34ec18e669ea9339e1d1a0f076ca3b885fdc31eeefe66cb7028049342b49850b1fd65adb4909e98fb64c7524e2bc06a457fbd6244b3231be43f7a2d5e1125a1095d47728e0ff9284a26bbb445c70b58db0021641cbaa7548786fe77fbc74958a4a0225d37a7d5334d3adb234de7064899af11dc983080fbbbdec44ba1e84c0e8b89dcf3ff3c34ffc4f0f5f87a97a4f6f87a96ba657c28c1554b127dc68253e5d596a4a9e36807c22a9fa634990fa7a94e498a1139013e8c93da81cdea8b21500ed970fbeafd2b74ca2e3562eed9156f7ff1fd431cf4247690b20d8a6032da1a253cc43952c119c2c3f41822a52f0deea1e20b804f42c55278ee69970d54c7312b2e25ab99682e5acd7e8a4963dcc0f32babda231d02980f185c9763d253cb309c738ef5a1c3d3b4806bafdc6beed9dab1657ecf7d04fa38727129c7653486560589a5df87aa1a2ce4a9fd1bc96b81c52cf49c8f3b2c877081e2b904e5c24ec49bfd992ee7f6543822c0d664f89a32a9bf7f028186d487a2349f218df8dd075a1935e355b797516443ad6936f58e1603c890b425ab08814863773f762f5b46bb3bcebe5740c3d06fce668a30024056bfa814689ecd7d8e4d731d0138c27e133af59440427d52b01ddcf6c8c805e568d0f83a1df6b2a673f833da2b4c12af6cc8c1e59bebfebaef483bb367de8a1b34ec39a85f85eaf74f6705aad3fb03233a176357f6ff9d89a421e470b1da1f259250cfd6aeeb275a40d3320da0f7cf95c1862309ab8cecd0541b625d8c20f2b11ca08a34c44a0ea36c23748db99dde9aee7c2a45395b4917248ba802e1d99b8d992179f90a5b31d2bfe0f3af89d2e13bb3e1b7b86c5c9481648aaadf9a6fbf5d7882e6195e509af3e880b128e2ca79667fd359d81ebe01b9f39c83451a94f1f4ba4343332d04cd460ee2ce08b5ba26d793c7decf977a5c949f33c293a3f755d457d99a6392922ed0dc2de0d47e3b852a69b284c4a923656c5c8479f72d6a4d5c75e0feae2e609e4190b6b4c104383de1866904039ed9c9facbb75dddab72a8b70428a5d01aed21bf10f57ff58ec4c361ae5f68cbe20441a27fef67279d59448919a2fb0c2dba6a36a441aa1a642167256b4e76d8c5c3bcffda4b8a6e70119f3cdfd834fe9541ccb52d1ad9de30d105698f41d644099fce5a70440273b5af1523a5d9a3e54bb755a31184f8049fdcb5bdc9c6ccf4e482b10877ea3e5e46a8011d30de54a211c2546579886af45cb6ad4f0d297f1829557d36a15eab521ba3febd0c6b2fec3e869bc105f9f7f3149102af6e2762bdaab4d6bbc534fd89702f2f66daf9ece203a002a8b5b7ffc73b42a20ff8d8ceaa3049430de2717c6254868d7a3ee456d7c0162c41574c35999834c45ee87d70f5ad52547d22550dbe8da03aef725c191916a97797c8432a4f4d82cce0a1facfd7c2a96d236e2b823af3928e63a9ef9c7401600ab18f4b5b2725c027523d48eef0779f03dd6b76732a9a01c28d5b08958baf7bcc90e2773103a5f03ff7550c65df177c6269cb1f42123e3e807ceda007a753d9e5d30ba946797b1e57d0ba385998c6588caa6b52a0a8410ef9c0b1593637ebebaf03e1f36636ef5c19ac639d9a7866e4a3623a9cca63abb615c194be438f3996b7b035f2e0ba933d9cbc27f0e0cb45b1a6ef8229ac6072d306eedce5e28bf19ea9afbec0f7d000472b4f9a147b9abc2ae82ca037b3b9679b07a3766c209e08129948572b1a344b0aaf57871bf7de859d0b79627644f9cb25f03932a9d7f5fb339ac11535a5091601c4b1570746020ca5e7056c50ca5d957e1b5f8528feaca7e365d439ec2511cb49e35d2dfd35639a8f0edcb7606231586f4c7d9c251f587422180e05402cd611ae2b3a3acd5e7ed3f3d9dea690dbcf9be25d7d24a08575032a22164391e456f1bb2f2a1cd3123736376e6c40646426a0ee1a7863c6145fc3850ea4ed3a1eb26e75a261dda450b7a4da87663dd9ab90b97c1e9807b6b733a56e42958200e83be29d2b9aedde7637c6be67f3f86e0f584776836f59ce4777ba8c12e0c3387a1241c070a77ff9a4d0623fd632d18cf493fda8934e2aca8f7ee9b4afc36c8b24fabdb9197aac4dd3e1790ceff27cbc1768be741d7f91c22822d5afbe63ca22dcd7b0822fe0de2783510194f2416904665abf40b3ade989ab520f097b61dbaae6f3948048ac7c2f68ba21d77a60674877a78c423e299f81244bf6e423663c93b28dbd5c4f7ca339cd164868500e2e709b87b6d00a01de547cea38b4469b00536824bb21949a8a9c0c2c3e392dac75830751ba1af39773348fe80730a82f61852e2cb342facda8a243631561d414be3630e5a93c2071c59652a99818529390c4aa8113daff3527a76488975621e40b8ab123f75549eb77aacc4a71b325c8e971d43d920d8c57f495f5514be1e8baaee05fde5ad85fed7e06963c83426d8f61a152fb5e95a9fb43f55f8a1a597f22ece348de32219abb70e07c2ea750e4746e79b51ded016b54061574e4d8406e3c6eb4a164d813669cf03ac529025574368c483927fd781eb97e8f5c08761122a84c0459be247d3d1cb1edbbbe27ff2d655327ed901d8a47e020eca827bcc5975a11e990204de64e95cc9edf5785ae10c3ed2f61b8de0441a0d3f450b3a64ac082dee0bf14c00f954165721eed6fe66562d3862a1c124375b676d91c31b641cce327b49a22376e76976714995f9564e14f80982fcf0e005c561c10873faf1f5bbe2079e7701f9053981d9406d33b1ce7edb21dbc8af6acd8aad56374457ecd1ff64b0c2c4dac73ccb6aa59c943b136d8e2c177872ae2ad59682cc1750c2e3807c8985f7413f2105c5388d6fadef28c1041c6cdd923b4a78e27f4f1a3ab450e4214fa944ec24459fcc0b5656294631abe39aa478fda750347c3e867a8e3e96c10d8df1a090876da215219eacd595cdccfd8fb31a310dec2e98df9849a0d3d2d49b33397e0f16e0b3b368b3717e6e5ba0605461e9fb850d7e384530bd75af907d5f9b559e8b390822a5f7b6b50a167f5cc82f00c76956d38b5be8d3d3dad885964dd1b338ffb35231aca4ef4b7e16ed8f0599df8e2822e08b7777c064787f5da1a369f1de0d59f2b29cc9ec8531e45909c71f77692caeec46c77504c72540dec369aff76628e7800b44f6b1638b54fe10f0915b893a2771737895e76aa6f6c0c24a9f160d066474fd6a3a897ad770656485cf137b75ec7c8a1c1fe6346e09d9f2ecae7107e205a11638a7379d4711b88addcab18a4032d8137cdde3005479ccd872936db00639fce0823b021b1cf079e97d2a799f6a8eaaa1a7f20833c71a2fc78edf89751263d9a0be874507f2f4cc2a2b75cafdfd75958f9224099535649df92450cfcee2e34930b10a53a90566a6ca5a738985a4199a0220028c088a528e5ac2b40b1d6ce178c96538078b1fc919aa9c59d4deb6287878e7a9b81052f9d7792c1582dfbc2a7d74b5b8a7eb19d7e4ff128a60603e3f4904babe2570182ab68923c04fcfffc9c4f18f91d804bcac3b523b8cc163f99a235028e5368726a56ee614b968eeb8405ec8bd986f4c7f0d605f750e6925314303f76b598520a07d255632995feca959764b79caf3b59021e8350b6c4f2912f225f646351623327644b33cee6dd8bdf0e508349a0921c14748ab4e710bac8658a9c7cd84c5f538c72b3171f42f195fc7d60fe9ab25b39aa5b872e0814ad9df30a06ccd0c595fa764107da6c1e04dee361e59cf4b5765acebd307806eba8960b0e686b1c5578704ad9a143598d7c02df2c9f0b5308f49d94d733b980c230cd791e6245d12597e635939a1e2f67dd926d56b7190fc20fa8198df4f1adcfb97b27ca2b5d5647172d356839936c7ee77c1cf0181d5294092992b55db42112eed38d51ddcdd886b0fee9bdb935882eeff39921e10f28f67e2bb227c1fb265a267a32ec21dd01334fc9d2123ac1b3fa3d4943b8d5030e4e82749a7fcb154fb8e4f0b570dab89d31404cb9e63983878c838010484cbeb6ff5626db8aa4f4e67e5d09503a4d2d07a643c555ae8918f10d41b7e63242e4a79877b1d7fad1a96a0b57e31bcfb8230fad6ed28d59c74f360e55ff95073d75bcf6839d12402ca95e3f1176e702c30184c7c667512d71cd8b8dd10e2371492fe99725e391eda6b20673ff923cd6d1ffd1adfda451f68ad6c8b3e216ad3be0a922fa4e42c17b838e74f0e4bbcddb65d682cf570a84e22b41720e30a9715e3673352a3d4acbe1126e56013ff896fc3ec321f88aca84b58639eab45b5203d8a5de6c4ecede683100f56fc0f93f13542231e75dbf58b4c1684a4b652200423dcb71999994b71dea1f690188d8305368c665528be466d91fd7f8fa6900262915d67b3e42a8f0ca9e7c59e26ce5dd13501ac6dbb1149df8281e9605da3a4ce6e2ec4cc17f7ee3cc48a6ac37dac98d384b172510ee959225ed3fd4d076a967328b4731afca367b4b7e3adb084d37ea4559f8d10135c689c01b9cfe4b6ed526bb83fc7c0a7a77ced62ee925e34280a2356f03a7b2af7063c8d6f0f40270163999151dbf1ac27bcbab8a4a613ffeb86f5e448fa5db6cf8f5bf67d37499a7d0ec38b78e0f15ce2f8b548ad10c2c2666a8b3434ed6b8b10fceb085fc27cf3e3444376fc551a661088fd7a724fc51e4c71633bedf7b96af2c8265b09c35afd2c3967892685f617911310171cb24f6a731638687b7d401a27f24da65edf9d00f3a91be037ebc2e818ead3a71db53d92b8b1d5fd51a480745023800326b5267c2784752e4f17176850fcbb9a1d2d86101de3b0d1fa3b5e4003701b5dd8fc4eb4e1a9aaddca9e47b285a34abfac8bda88e2d6e78f925bdb19afb2c2f6b04801c78fbc44d5a075c1b67d43131dbfee0d8f9ca7986f88b09f3b23b6602c143a1245731f264458880cdfb33ec81df6efec506f08a57fbbecbad76cf9103c7f9c7174f2fe3073f96aacca8533d13f05f8141ab8eb583fee0a614b6598c807c27f675e69afc076c4c57e0fc411cbd696aaddeb54b2396f9d298019b76e142e3195265f48989f7ae105821bbcd38986fd5dd71b0b8e714e86106278d2dc7a0aed0a0e55683f7197882c04719b1b91ba94564e37664fd270446823f92878c788cc35bff6e019e3338030aca2c8965ba54b2615532c7d89e3abfa0b5c33333eeef7b1e07112a261d83ca65203c31de2f385d044aba7af9add032ae2948615a7524656e974381610f5cbde2e7d6a9cac2b04f86c4b1b3948de4a9878aac7e2aef22b10c5ece32df462f5d756dd937f55e79a307b64f1b097072139dd7920a95eee8c61c812619db134958f7bc0823b76aa807c63a1fc5cb89a04af5bc6ede3e0c1b6b8b5f3466958c5a40eff1795c774c80521818a808980aa5cbf7e1dbd5871a0a69f342a2742b504a7fccff2d90cf547f803ed43bdc63dcbacaab4585a2fc9dd41fa902b9e0af125c327911966b7804a7b04f7c2c99f3587d4bd052f5dd73071c1991babfc24bbea9418c1bd9aeebb2c129f5d1afb7575237308cf478bcffa9d63456cadacec7eae6e7b3a61a1262553fb0ced7a9d48c65a166f9316dea5cdac91be5dab7fe4e53c02db0e9a1edfa026be5c98cb07c857de92efecd253c6a2cd98566e41ea5fd1d4b5f1d67fed4c51259cb695fd23a8610c1277f233d3285d60af539fc275b6a119345a04b50307e12815d815d3f6fbaa4c614a098f3172ee085a7ead7f4dccefdd484647f55b38bc978c9710ae0d0400b4638b7b05ab435d30e7eb9d200e13eb759c3f945f071d5fbb00020f207620a0cd2ccfb3d182d03ebc414e6862676fb3c3faa4d7092fa27caa94ab6390c653afe901aef163c8c42773829a643ff3a07222fefd206b6a3a7ecd4894e3505ab1774d24f25e37b71b39b2c7a8bb43aa690160ad23b8e5c5de472a7c647848c8d9c46045601c14a137cd922c31e77d02187ad795a3794266e56feb1486b337c1a3178d8cc02e306424790005986d1926d60ea9fe3301ebcd1adcbc3cd67e09527932cbbb064189bb9cea95fa147b2a0c2f4c100aa9f17ca29125b6d51d12d1289b4790b0fe9cd549a599e0f804e83041c00fb1ca986f420ed17faebcc15ef0cdd4b4e873d8cb5445277abb1f33f7427f310002c875ef6d7caf38deedb075c534c92077b58fcf91b635b56891637d10dba35183bc1ca2d7d579dfe05c52c29a2ad2fe9cf3fd9223b50aded468530ae76fa1474137de65ab3e95efbf4eb5a513c9bfa7b1ac3f18604ca5f83a46f2b220cfdfca93a6c91834be63e7db61e508b20869115dccaa8e60869352b7af959981ac518b262993ab7f05d4e365a5f015593b7a953345f74684e7062171ad25f47c67d67fa46e191b2d30d31cc2bdb9091470e3c7f314ad367753407f209902bd90242cf34b374e95c52bc2eb922ebe611c3550b05a972c74f5250b15bd0d843f8e5d6d11f9bf7d3b4c28e5cf050f19117465e29cf20ce41d8d4681cd64b4a0e93beb91f775db87e79027542bceb0d710548459292e0f35e1d7cc5b602fe556cb57724051fbe4bb27e235dc29fb50f85403d2315723496431a8de067c3228bc48dae4503f65b74afec47fb018ffe8e61d8b63a8fa6015798b543e9a158e78512ca102a519236cf0fcd11e014c00b37a5dcc4b5e01744817dac10506ded50641b28e65c8ee1829e990d5ab84bad43619db30192b6e06c958a588ae2775621c56716bde73cf06c32463be301fdfd871c5d20b07d67d8e6e60f14f30d6683d7dc01b0def53378ff4bea2c0077787f17e8756ed45d3f3e844fb66eef79a884545d3f8d957d2ad8cf5b636cdc68c10c0068dffdbde6944f96170909e346245b6686c8f33c6f2b6eacbd3d38a9b6c1ef439a1e959d82ccc08cc7efe65023c62b09630f4b28fcea62f54e10857803c9b0d7f13941b503a529cbcbcf51ef09d55d1277cfd00b62a1f9a860fce009c723827b28a51129a2a74a99305c6d5e0f306111a43ee8f42bf7bb47dced8d8c0626285f48329db7a634e9394cfad19e72e731c042b134f21a0939e3ae40b76e89e896142465a5e3ddaf86000f62b1a1e46e4786d07aea688ba83df1a5804b1758b738474bbba32dd6cb0b19070614b53299d9d02345d105e5d7fc98ef995031234ab8d7a955cb83c615fa93bdaf55f39e9915ab746422bbd4a1a658f9a64abe933f3814c9aa2b220a08018890955c4ffce9ed6064668a97888efeceed5920102dde5b7fe39aa44a1bb9d48aa80de05f72dee64f777f401d00b05d2c83edb4be200476221c8ffbf80adf1c7ba136e85b607f31c0c435309998fefee5cff394910ecee058272efdb56823c564386464933e87cca86f5e2039c1d475d9ed03b3fad6a93a078170b98c7e3715b3a3a3b36679b8861aa7b39776cb505de38e8e01bdbe23c58525ea2b0f6d5c6840ad7f815c754ac24fd1f8e4411747ff267f7632493dac1e8de2c58d30a2ed87c11ae8dac202c0770a99225f6b6cf5dfd02442a54d09bee7785072671958c0e93f1a6d899821dd26376efcab5c9c3a7968686d3f3b476abc8ae8ffe5f9845b725e83c513a3b444bc9a4ec0ea1089e80654acf9238c3aa83cea7dca3f7e99fdeb8f082529e8369bac159654e5b5981a2a664451f21d3f3d45a1ec084ebf5c699eec5889f723867574948033e39d7cff979c8920b1d14b83c353f4bf0dd9c91fe5259e197d580c35900f81c99c47b6a4ea74dfe13d19523e714d58ee7d33a087b27ef6dfd3901cc1fd2abe767fa882767f8fbe4b873629bfff3fa12b9faa8fafbae5f40dbe6cda44d13e677f82b38a35e2769513b060f9aa6e15440b28a3ed9ace1638b5a9f8333070b0b0f1b815599ec02473c497e10b8b9a2d9e34f6d7e63f2ff3705feb14c2434a49db6d9be67b9850190aea1b3340281fd69409ef0571ce253e73a7f0c989ecc34f58996504dc2915b5fe894a9d9f19b0a5dce5f20e8de61df5eabd86f0a48eb7c10ac4d74803fc791b38d010c6984a8f53467c8cc3be84a1bc1da2716c5a8be906926336ad049041b2f4d61ede79ee38a140c8d70093562e0f2e9e44da40f839b610091e03c947ccaec88d5600d7f6a5fcfb22afe8c849e0b1581c37a791f813cb5c01a0143b0c57e3308cec0094c4239b89835310ad4708f54a43211843579553fe761303967e4478fd9eecdc65aa3f4481aa188ef5b248caefddc9cbe22e2c2e0b5388dc9e004656919b3b76cdbadeef17480919f9e9232eb24a303e997fc9b0556a85db8af46d24bf920a5f7f171323ca096949061a43bf6bcc2be75de8a196b0a904eda0ca77b3caff91b41d886091da24f066056f47c26baea3c949459375e6dd19aeab06fec86862cc1663a3d504d996606e73822a5f512e2fafbe5d15102ab444e8b2de0ee1e1103705e42d7ce6c0272aaa4201f081cd8f21a4302083a31c1bad1fc00f6666d48631d6f08494e5f55805a57214189d0240177955f8d0d3da29b1525526fe98bf6bb0928fbce92262993868250e5258cff6cc5432a178b2bfb5743e4d039115e15a5d0f70b84d845a0f433aaaa8278fc6095c2e9054012a24d5e2c0b52a52611b8846b8e0a07d4c97073e6e1573c8d6720957995b5a07d23268b2ecb2b7f6b2313adb48ef627d9c24001c9a426347919d9cbf11a888e081305f1bfdb31f6790af0a0ad00e6febc0caa087d29bf13afc9290834ca39ce348da866befed5df82944f459e4dce20c3b300f8c8c6e8032961b06aec4b3b5cf545d7c52374a803511de1c8cbef02f2ea602dd5c6a12fc738e43046dffb21a234653cb8860cce2fd9b5b30fc08ae2f20109d4933234391b243cea933f649fb6483637b1f6d784338fe906b0d0328629182b16990f430bb79abeff60bdcb5b2b4413674511ef1b3c549fa92dce74bb43cf088f421f16f26836f9511ef7a00935b72e3e89def1dc55dae860784f1d4247dd64b6118dc7da4a5c13fbb35cf01c60056f67d2241483870904ff802e281c5e3a7c7245aa461716efd0b64cf9bdcb379f76d492e60e664d4e98125c8c72032ad2c9d90c24b803d743bf0bef936e5cda61313c741600bc98ed9492665981536ef12f59e174984525e5e87742c4d6825756315e98ec9b6311c908d8d340151965a6820b5358d8b96960d8ef1d918047c71ff1f6bb8a6abad7ccef924e06889bc64bbafee241558987dc883ccb6941f2f65b739bc26e8a1589614c5011fd63e7d2cce22a3d230a6387e4ec2956fb81b84f2b408d94eb5e3dcb792483122e3f4ac62151ed8b33a53d82d78f3a9ba3d9366d941d566587c570a60d8cccfa8298afae0fce070a78a78451300ccc071fbb3be69a156408559293fb29684abc45be9b87b3ba3985b26ed64d3363b585bc862a01b1e59a29d99fa93c1af3980bc5c5ce2cfbd0c1c774932cd010685102e08c934d2d704d560d2d2a6d2c9014cdbda11fb66344cb750a514285e6f9963c6e68c98bba4b029d7b8e158d3b14e07fc95ea64d5cc859f1fcab551995bd8408543f91c2934d7fcba22a03ce6208d7def7157a507509179f514d9924a73ddb37ebe176d7c78cecb58525af4372dac1a1369fae199cd4688750222deca9a5703d4a2562aa892886be81eb9cd7453a93d7128cacfad39a835247908c5de942f5bfd822bcf68854c5f64b9f1faf24c1c9189f6b9abd2956f0a18591071c46590a2920814d29ef324e8b1e7b5d455c87773d6fba18ca23ad4d0dd4ecf1a4544aa0151ee8d527a44414bacd3e078797efaf6422da2e61b26e7fe3181b9f11f14e605a18df8230b45ae41f150ae354eb509a4fa2c2f885ef7dbd66c25d811a0a9cec75ac01b334a434243525e2663cd727de9d911bef55123c98172bc7f6f17f4cec5f0af12b50bef08b3ad65af9b758f5012e2c4be928e0feb343278296ebeb30fc48e806679a4a8befdd21074b41cf5d9b2d7a488a3f62e7b32295835705c30045038367a26c70d1ec682999a5939d8ff7bbf67f8df58a1f25dab304fa54532ec15e67d086343590eb81eb4021ffb70c55c068c3ae46fbbaca453d5c7804e7474d47982a15c04002727537b7805ca0df7fd088a41d8bb7c6bc9b2612eac5ad25151ae1ed4eac2a2ea0ce7d1661427d99bf6d22e3ca9516ac8dbaf9c5c28b817fd96c1f75cbcc1eca4927f6465b3b5a8cde76713014778e799f2ae3698b059cdce630833ab5001a091e3bdf4934ac7261150456adb7d00d58ad86509ebc429858d93d138ef44666d662ba5e59f31abc989196d3fb90d12f88924c73dc23d1601fc74d6f1f510ce61d60fd1e50ef594348a484773fe8adff84b79173dec7199d1c3047891ec32c389e509c7500e1b9c442041971cb59c57d9694dfbc0490c5464b394b84a485a43957ca073949ee8fc2c8a593ac69e3dcc175130d0ca2c9739b4fe82a5f7cf493112977ea4512a8ca2b1c2b3bf2585cb69f9167d6f8747ae4323b8a3bc7f0b417ae46d2211d666761962f20d8d5fa786c13d1d7d7605d903132c55073da82703b6845f37caa39b6f82e420c4f2fd6d9c01a1da67f0840ea1849c8922a86cb9f24f440cdc0dd0b3de1cf470695799f882f473733270cdb3b192e8b031291c70c81b8eacf21671cf2db6b353fa1591413a4c311445eabc220aa45da0aa7a8185d19ba47224b41b2cb086ce84aa058a22cf1ff0b3a446c456d653225196ed90df85acb044277b5632a43cfa556444537583bb2c8cd18339ea4dddb070f35e3e7c8f847da9f9def7ddd41fece918524142fffe994205044ff405ec44e03cfd3fdc8c8596eea5d2fab9f235721ac21f7728ab9c3dc273e97169813d326080cdd4483645c50425372aec1bb80ec30d199a25d89184803888d249ea2a9f319fcc5c4b6e8c005515dfcf8002540d6f2f4b905ac4795d906c9300d3ec4062fe69119898f12f7c830d3d4cddb3cad942f1f92187beede390e5730ba0ada0e237712861807c1db54dd750e12a63a79c52f56966eecad7358d1f14e9d728ba69754e60741e7af9470f5e3a77de78aee445b6014e9ce4c1e2366ae4186c32b3791682a2115acbb26c269d5423c993765d8df798c1ef40ff60ea947a83ea4fc4a6469a5a08ea5720e09049c02edd09acb6dc4501cf698ddd309e6eff41df7aec1ed45d7c2a4207f0b5a3ab41ad67e64d6a5588ade463f48662ecabd2622f09fa4bfdf8229944e6839da826a42c8cdaac97c319cc7786ae70708b0a74f53d82f0522db80848a9512155cc20146c369a45a6cb44548382eab9201f91b54606dc25ba80d7b61bb805a2feb64ef03f1c69a68ec21a6ea23e33b79372a753a352cd0d6f8fff2e04baf52954fed2667bfbee4f7d9dbb23ae11d095b33b8a3cbfe0bd8e7f9e17e3a14e79eaa8fd6ce8ed0b9c75c4a591833b2689f9b6f444b5afd9517b20991d9de39ef426b8a0877ef8198810c3f5698f12536666293d607e0527a7d8723e217c224ef2c2d54b924a1c9c7d6b101e7822694e82cede17da7549f0c7a693a92e7b0a5ce1b81fc14e320d61b11dd8ce23f9c7a1f1972fb7e199b467793b085f74e9bfe6fc0d63fd2eaa31248dea393236c7e6814f69035e185d7430e369800c89217ca922e4c2d7e08ebc2b7f8ada5074b0c8fd297cb9b73c3f7ab010efe72850a30a94c1d1523f6199aca0f7d2d886a7d2556425b29f731469b69a2f3d6722289db87bfbb44cfa0ae9e4f3577aa388fa8c90f221d2617b4724f6b48ef7129585110059c7bb3cd6278cc294a1bf1e57270599b5d02f27b3ce1405f426b42473442dda2c7ce7bd0a18123f634ff19c3a002e0ef5562f53fd61bfd48263e9b2484b857b88e44ba9cc2247e913ce73662680bc78388b0adb2b5a1a2d932ed48eb89160878eafa8148652c473639d8f56e00dfa9f6449222b959aaa8d47f1d61f3c58148fac8cdd6add0a4d321018eacb64dfbb815138fe2d471ec43981deed15f871b1d7d487410826956e70a17b14ce6c3c6c46a9267032c81612304e155919428ffc29ee5128af2169eae3f528409edd325dad376a2a5ab51a5e43ce62bbf3e36eeb74fef399ff33241dc3a28fa2fa15ab4aa7bf75b44c3e3b432f1351041dc7d6f8481de60f0d0422d901bf69d72123074d7ab1f16a9b05adbbfe54aa43b71d740fdb66e7f4833e46cf14df05f81d922ce0e7d6adff494e62eafa5006792974ce6d646228fc3f592a0abc286215451456a631370e0e012676eaa91dbc00a8885a4261138b709696e4690e357019cf3dea47f48a34dd2633f1a87e9872d96e170881be10d64003b21111b6282e32a7006c90d32a4d661c2252ea16da786efb45ed3fd828453efe6b2dcd28841a62bb9f7e207c381479a24bd33d0b1475cfdc0929b469bc5391ae5f53cb28959b89e6c00b761b10898f2ca05e821a3780189f614a269b27dcee64f1f95aa922b36947eb69a58c367bb0f110044eaa752ee8ade8d296431f1f16b68bda86d3da70a67421e91068ee45a35fb4a11624f1a356a45d818bedfdb4410ef365fc87b34bbdb76c775f14c3ce17ffabd0bacf8fc51e9c53ae17845ee0867d43556637d3c7af112d86d500c8ca15777d37170cc4836503e31710d4e2879fdc787158cde610020e8c0221886ab4dcf9924f101e1c95042d783ac32e2675f207275c0dc9cdc8577a211f5be732ffbf43bc3f8516514b9a23739abb80e657183405087446acdfcf799c0e818a72b5b2a843b53b218c07588231e5d259d7d923e3be441ed4e6ec2bd23e07f43312296da241d0b020a99e48e7eb1bdce9e4621a7b13eee15566231af875bb4f3bb6644ae56e84cc271a9a551717353eb4282dd12649459d56ed5f7b4a54ec2000842fafdf3d31781c1f1f20980012d84b6cc14fc0bbd72b999874a60adb953cce30abe197e3a638e9624737461ca74bd2dfc5517e2cbf68c85702ac012bf2f8c0c74ec626eabea6c1ccbb77ea999f4d0d4db8cbda39d6e30f430a7669e3b525704a208a969eb51bfbf7f95dc78b9bc00f</script>
  <div class="hbe hbe-content">
    <div class="hbe hbe-input hbe-input-default">
      <input class="hbe hbe-input-field hbe-input-field-default" type="password" id="hbePass">
      <label class="hbe hbe-input-label hbe-input-label-default" for="hbePass">
        <span class="hbe hbe-input-label-content hbe-input-label-content-default">Hey, password is required here.</span>
      </label>
    </div>
  </div>
</div>
<script data-pjax src="/lib/hbe.js"></script><link href="/css/hbe.style.css" rel="stylesheet" type="text/css">
    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/linux/" rel="tag"># linux</a>
              <a href="/tags/docker/" rel="tag"># docker</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/mysql/MySQL/Docker%E5%AE%89%E8%A3%85mysql/" rel="prev" title="Docker安装mysql">
      <i class="fa fa-chevron-left"></i> Docker安装mysql
    </a></div>
      <div class="post-nav-item">
    <a href="/linux/Linux/CentOS%E5%AE%89%E8%A3%85Docker/" rel="next" title="CentOS安装Docker">
      CentOS安装Docker <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">zhengyidi</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">39</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">5</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/zhengyidi" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;zhengyidi" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:zhengyidi1357@gmail.com" title="Contact Me → mailto:zhengyidi1357@gmail.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i>Contact Me</a>
      </span>
  </div>



      </div>
        <div class="back-to-top motion-element">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">zhengyidi</span>
</div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js"></script>
  <script src="//cdn.jsdelivr.net/gh/fancyapps/fancybox@3/dist/jquery.fancybox.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  

</body>
</html>
<!-- 页面点击小红心 -->
<!-- <script type="text/javascript" src="/js/love.js"></script> -->
<!-- 鼠标悬浮 -->
<script type="text/javascript" src="/js/mouse-float.js"></script>

<!-- 鼠标点击爆炸效果 -->
<canvas class="fireworks" style="position: fixed;left: 0;top: 0;z-index: 1; pointer-events: none;" ></canvas> 
<script type="text/javascript" src="/js/fireworks/anime.min.js"></script> 
<script type="text/javascript" src="/js/fireworks/fireworks.js"></script>
